package top.coolrainly.module.resource.convert.content;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import top.coolrainly.module.resource.controller.admin.content.vo.ResourceContentRespVO;
import top.coolrainly.module.resource.dal.dataobject.content.ResourceContentDO;

@Mapper
public interface ResourceContentConvert {
    ResourceContentConvert INSTANCE = Mappers.getMapper(ResourceContentConvert.class);

    ResourceContentRespVO convert(ResourceContentDO bean);

    ResourceContentDO convert(ResourceContentRespVO bean);

}
